package com.groupseven.happycampus.mapper;

import com.groupseven.happycampus.common.pojo.Car;
import com.groupseven.happycampus.common.vo.PieVo;

import javax.security.auth.Subject;
import java.util.List;
import java.util.Map;

/**
 * @BeLongsProject: happycampus
 * @BeLongsPackage: com.groupseven.happycampus.controller
 * @Author: WRH
 * @CreateTime: 2022-07-25 17:03
 * @Description: TODO
 * @Version: 1.0
 */
public interface CarMapper {
    List<Car> selectByParams(Map<String, Object> params);

    int deleteCar(Integer id);

    int deleteCarsByIds(String[] arrId);

    int addCar(Car car);

    int updateCar(Map<String, Object> params);

    List<Car> selectCar(Car car);

    List<PieVo> echartsPie();
}
